package com.cxx.purchasecharge.dal;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.transaction.annotation.Transactional;

import com.cxx.purchasecharge.core.model.PaymentSearchForm;
import com.cxx.purchasecharge.core.model.persistence.Payment;

@Transactional
public interface PaymentDaoPlus
{
    public Page <Payment> findPagePaymentBy (PaymentSearchForm searchForm, Pageable pageable);
    
    public float countPaidBy (PaymentSearchForm searchForm);

}
